cmake_minimum_required(VERSION 3.0)

add_compile_options(-Wall -std=c++11)

set(SRC 
    main.cxx
    main_server.h
    main_server.cxx
    server_config.h
    server_info.cxx
    server_info.h
    client_status.h
    client_status.cxx
    proto_decoder.h
    proto_decoder.cxx
    proto_encoder.h
    proto_encoder.cxx
    proto_package.h
    proto_package.cxx )

set(LIBS evpp_static event glog pthread)

add_executable(serv1 ${SRC})


target_link_libraries(serv1 ${LIBS})

